Skip to content

Conversation

manasvijain99
Copy link
Contributor

Issue #, if available:

Description of changes:

The Serverless Application Model (SAM) template deploys an Amazon WebSocket API Gateway and two AWS Lambda functions. When a client connects, the API Gateway creates a $connect route with Lambda proxy integration. The first Lambda function processes the initial connection, capturing both the Connection ID and API Gateway stage URL, then asynchronously triggers the second Lambda function. This second function validates the Connection ID and, if valid, uses SDK API calls to send a greeting message back to the client.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@ellisms ellisms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @manasvijain99 Requesting a few changes to this pattern before we can publish.

@manasvijain99
Copy link
Contributor Author

All changes suggested has been done in the file.

@ellisms
Copy link
Contributor

ellisms commented Aug 4, 2025

Thanks @manasvijain99 . I will add this to the publishing queue.

@julianwood julianwood merged commit b42c583 into aws-samples:main Aug 27, 2025
@julianwood
Copy link
Contributor

Thanks, I've renamed this to apigw-websocket-ack-connect-route to more match other patterns

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants